HMSetMenuResID
HMSetMenuResID Set the 'hmnu' resource
#include <Balloons.h> Help Manager
OSErr HMSetMenuResID(menuID, resID);
short menuID ; the menu to associate with the 'hmnu' resource.
short resID; the resource ID of the 'hmnu' resource
You can use the HMSetMenuResID function to set the 'hmnu'
resource for a menu that did not previously have one or to supplement
the existing 'hmnu' resource for a menu.
menuID specifies the menu to associate with the 'hmnu' resource. The menu
identified by the menuID parameter should correspond to an existing
menu in your menu list. The Help Manager maintains a list of the
menus whose 'hmnu' resources you map (set or override) using the
HMSetMenuResID function.
resID specifies the resource ID of the 'hmnu' resource to use for the menu
specified by the menuID parameter. Specify -1 in the resID
parameter to unmap the pairing of a particular menu and 'hmnu'
resource that you previously mapped using the HMSetMenuResID
function. You should unmap any resource IDs before your application
quits.
Returns: an Error Code.
noErr (0) No error
memFullErr (-108) Not enough room in heap zone